package com.szh.cloud.api.teacher.entity;

import java.sql.Timestamp;

public class SearTeacherEntity {
    /**
     * 讲师编码
     */
    private String tchrUuid;

    /**
     * 讲师姓名
     */
    private String tchrName;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 讲师级别:1：初级讲师 2：中级讲师 3：高级讲师
     */
    private Integer tchrLevel;

    /**
     * 讲师头像地址
     */
    private String tchrPhoneUrl;

    /**
     * 简介
     */
    private String introduction;

    /**
     * 修改时间
     */
    private Timestamp modtime;

    /**
     * 删除标识 0:正常 1:删除
     */
    private Integer delFlag;

    public String getTchrUuid() {
        return tchrUuid;
    }

    public void setTchrUuid(String tchrUuid) {
        this.tchrUuid = tchrUuid;
    }

    public String getTchrName() {
        return tchrName;
    }

    public void setTchrName(String tchrName) {
        this.tchrName = tchrName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getTchrLevel() {
        return tchrLevel;
    }

    public void setTchrLevel(Integer tchrLevel) {
        this.tchrLevel = tchrLevel;
    }

    public String getTchrPhoneUrl() {
        return tchrPhoneUrl;
    }

    public void setTchrPhoneUrl(String tchrPhoneUrl) {
        this.tchrPhoneUrl = tchrPhoneUrl;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Timestamp getModtime() {
        return modtime;
    }

    public void setModtime(Timestamp modtime) {
        this.modtime = modtime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getSortField() {
        return sortField;
    }

    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    public String getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }

    // For pagination and sorting
    private Integer currentPage = 1;
    private Integer pageSize = 10;
    private String sortField;
    private String sortOrder;

    @Override
    public String toString() {
        return "SearTeacherEntity{" +
                "tchrUuid='" + tchrUuid + '\'' +
                ", tchrName='" + tchrName + '\'' +
                ", email='" + email + '\'' +
                ", tchrLevel=" + tchrLevel +
                ", tchrPhoneUrl='" + tchrPhoneUrl + '\'' +
                ", introduction='" + introduction + '\'' +
                ", modtime=" + modtime +
                ", delFlag=" + delFlag +
                ", currentPage=" + currentPage +
                ", pageSize=" + pageSize +
                ", sortField='" + sortField + '\'' +
                ", sortOrder='" + sortOrder + '\'' +
                '}';
    }
}
